				<div class="section">
                <script type="text/javascript">
					function check(){
						if(confirm('Are you sure ?')){
							return true;
						}else{
							return false;
						}
					}
				</script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Order detail</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						
						<div class="section_content_inner minheight">
                        	<style type="text/css">
								td{
									border:1px solid #DDD;
									padding:0px 0px 0px 10px;
								}
								td ul li{
									margin-bottom:3px;
								}
								h4{
									font:13px Verdana, Geneva, sans-serif;
									
									text-transform:uppercase
								}
							</style>
                            <h4>Customer infomartion</h4>
							<table width="680" align="center">
                              <tr>
                                <td width="218" height="26">Full name</td>
                                <td width="462"><?php echo $all['order_name']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">Phone number</td>
                                <td><?php echo $all['order_phone']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">Email address</td>
                                <td><?php echo $all['order_email']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">Country</td>
                                <td><?php echo $all['order_country']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">City</td>
                                <td><?php echo $all['order_find']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">User IP</td>
                                <td><?php echo $all['order_ip']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">Status</td>
                                <td style="font-weight:bold">
                                <?php 
									if($all['order_status'] == 1){
										echo "<font color='#006600'>Alreary paid</font>";
									}else{
										echo "<font color='#FF0000'>Not paid yet</font>";
									}
								?>
                                </td>
                              </tr>
                            </table>
						  <h4>Order details</h4>
                            <table width="680" align="center">
                              <tr>
                                <td width="218" height="36" style="font-weight:bold;color:#F30">Booking of cruise</td>
                                <td width="462">
								<?php echo $all['sheep_name']; ?>
                                </td>
                              </tr>
                              <?php
							  function findtour($tour){
								switch($tour){
									case "1" : $type = "1 day"; break;
									case "2" : $type = "2 days 1 night"; break;
									case "3" : $type = "3 days 2 nights"; break;
									case "4" : $type = "4 days 3 nights"; break;
									case "5" : $type = "More than 4 days"; break;
									default  : $type = "2 days 1 night"; break;
								}
								return $type;
							  }
							  $serial = unserialize($all['order_content']);
							  foreach($serial as $items){
							  ?>
							  <tr>
							    <td height="25" style="color:#F00">Cruise length</td>
							    <td>
			                    <?php
									echo findtour($items['options']['rate_tour']);
								?>
                    			</td>
							  </tr>
							  <tr>
							    <td height="25">Check in - check out</td>
							    <td><?php echo $items['options']['startdate']."  -  ".$items['options']['endate']; ?></td>
						      </tr>
							  <tr>
							    <td height="25">Cabin name</td>
							    <td><?php echo $items['name']; ?></td>
						      </tr>
							  <tr>
							    <td height="25">Number of rooms</td>
							    <td><?php echo $items['options']['singler']." single, ".$items['options']['doubler']." double, ".$items['options']['twinr']." twin"; ?></td>
						      </tr>
							  <tr>
							    <td height="25">Number of adults</td>
							    <td><?php echo $items['options']['adults']; ?></td>
						      </tr>
							  <tr>
							    <td height="25">Number of children</td>
							    <td><?php echo $items['options']['child']; ?></td>
						      </tr>
							  <tr>
							    <td height="25" style="border-bottom:1px solid #CCC;">Number of infants</td>
							    <td style="border-bottom:1px solid #CCC;"><?php echo $items['options']['infants']; ?></td>
						      </tr>
                              <?php /* if($items['options']['extra'] != 0){ ?>
                              <tr>
							    <td height="25" style="border-bottom:1px solid #CCC;">Extra person</td>
							    <td style="border-bottom:1px solid #CCC;"><?php echo $items['options']['extra']." Persons ".$items['options']['infants']." - $".($items['options']['extra']*$items['options']['extrap']); ?></td>
						      </tr>
                              <?php } */ ?>
                              <?php /*
							  $percen = "";
							  if($items['options']['vat'] == 1){
								  $percen = round(($items['options']['price_vat']*10)/100);
							  ?>
                              <tr>
							    <td height="25" style="border-bottom:1px solid #CCC;">VAT</td>
							    <td style="border-bottom:1px solid #CCC;">$<?php echo $percen; ?></td>
						      </tr>
                              <?php
							  } */
							  ?>
							  <tr>
							    <td height="25" style="border-bottom:1px solid #CCC;">Price</td>
							    <td style="border-bottom:1px solid #CCC;">$<?php echo $items['price']; ?></td>
						      </tr>
			                  <?php } ?>
                              <tr>
                                <td height="26">Transfer Services</td>
                                <td>
                                <?php
								if($all['order_total_services'] != NULL){
									$servicce = unserialize($all['order_services']);
									/*echo "<pre>";
									print_r($servicce);
									echo "</pre>";
									die();*/
									echo '<ul style="list-style-type:circle">';
									foreach($servicce as $key => $value){
										echo "<li><span style='color:red'>Price : $".$key."</span> - ".$value['val']."</li>";
										echo "<li>Number of adults   : <span style='color:red'>".$value['numberadult']."</span> ($".$value['priceadult']."/ 1 adults)</li>";
										echo "<li>Number of children : <span style='color:red'>".$value['numberchild']."</span> ($".$value['pricechild']."/ 1 children)</li>";
										//echo "<li>Price : $".$key."</li>";
									}
									echo "</ul>";
								}
								?>
                                </td>
                              </tr>
                              <tr>
                                <td height="25">Extra Services<p>Vietnam Visa Approval Letter (single entry)</p></td>
                                <td>
                                	<p>$<?php echo $all['order_extra_service']*10; ?></p>
                                    
                                </td>
                              </tr>
                              <tr>
                                <td height="25" style="color:#F00">Total price</td>
                                <td style="color:#F00">$<?php echo $all['order_price']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">More infomartion</td>
                                <td><?php echo $all['order_info']; ?></td>
                              </tr>
                              <tr>
                                <td height="26">Date book</td>
                                <td><?php echo $all['order_date']; ?></td>
                              </tr>
                            </table>
						</div>
						<!--[if !IE]>start pagination<![endif]-->
							<div class="pagination_wrapper">
							<span class="pagination_top"></span>
							<div class="pagination_middle">
							<div class="pagination">
							</div>
							</div>
							<span class="pagination_bottom"></span>
							</div>
						<!--[if !IE]>end pagination<![endif]-->
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>